package ay.shadow.seckill.controller;

import org.springframework.ui.ModelMap;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * @author shadow
 */
@Controller
@RequestMapping("demo")
public class DemoController {
    @RequestMapping("demo")
    public String getHeelo(ModelMap module){
        module.addAttribute("name","shadow");
        return "hello";
    }
}
